package com.hoshiibuy.sku.entity.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
* <p>
* 修改SKU分配参数
* </p>
*
* @author zhangshuhu
* @since 2019-05-05
*/
@Data
@ApiModel(value="修改SKU分配", description="修改SKU分配")
public class AllocationSkuUpdateParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID",required =true)
    @NotNull(message = "主键ID不能为空")
    private Long id;


    @ApiModelProperty(value = "平台ID")
    private Long platformid;

    @ApiModelProperty(value = "门店ID")
    private Long storeid;

    @ApiModelProperty(value = "供应商ID")
    private Long vendorid;

    @ApiModelProperty(value = "spuid")
    private Long spuid;

    @ApiModelProperty(value = "skuid")
    private Long skuid;

    @ApiModelProperty(value = "分配数量")
    private Long quantity;

    @ApiModelProperty(value = "修改人")
    private String updatedby;
    @ApiModelProperty(value = "是否删除")
    private Integer deleted;

}
